﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Program
    {
        static Program()//静态构造函数
        {
            Console.WriteLine("static");
        }
        private Program()//实例构造函数
        {
            Console.WriteLine("实例构造函数");
        }
        static void Main(string[] args)
        {
            Program p1 = new Program();     //创建类的对象p1
            Program p2 = new Program();     //创建类的对象p2
            Program p3 = new Program();     //创建类的对象p3
            Console.ReadLine();
        }
    }
}
